package com.ruoyi.business.sundry.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.business.base.JoBaseEntity;
import lombok.Data;

/**
 * 消息通知对象 jb_notification
 *
 * @author ruoyi
 * @date 2024-10-11
 */
@Data
public class JbNotification extends JoBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 发起人id */
    @Excel(name = "发起人id")
    private Long senderId;

    /** 发起人名称 */
    @Excel(name = "发起人名称")
    private String senderName;
    /** 数据类型1=客户2=订单 */
    @Excel(name = "数据类型1=客户2=订单3=跟进计划提醒")
    private Integer dataType;
    /** 通知人id */
    @Excel(name = "通知人id")
    private Long recipientId;

    /** 通知人名称 */
    @Excel(name = "通知人名称")
    private String recipientName;

    /** 标题 */
    @Excel(name = "标题")
    private String title;
    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 发送时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发送时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sendTime;

    /** 接收时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "接收时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date receiveTime;

    /** 状态 0=已读1=未读*/
    @Excel(name = "状态0=已读1=未读")
    private String status;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    /** 操作模块id */
    @Excel(name = "操作模块id")
    private String operModuleId;


}
